package models;

import java.util.ArrayList;
import java.util.List;

import play.modules.mongo.MongoEntity;
import play.modules.mongo.MongoModel;
@MongoEntity("messages")
public class myThread extends MongoModel {
	public String getFromName(){
		return get("fromname");
	}
	public void setFromName(String fromname){
		set("fromname",fromname);
	}
	public String getFromId(){
		return get("fromId");
	}
	public void setFromId(String fromId){
		set("fromId",fromId);
	}
	public String getText(){
		return get("text");
	}
	public void setText(String text){
		set("text",text);
	}
	public String getFromPrPhoto(){
		return get("fromPrPhoto");
	}
	public void setFromPrPhoto(String fromPrPhoto){
		set("fromPrPhoto",fromPrPhoto);
	}
	///userto
	public String getToName(){
		return get("toname");
	}
	public void setToName(String toname){
		set("toname",toname);
	}
	public String getToId(){
		return get("toId");
	}
	public void setToId(String toId){
		set("toId",toId);
	}
	public String getToPrPhoto(){
		return get("toPrPhoto");
	}
	public void setToPrPhoto(String toPrPhoto){
		set("toPrPhoto",toPrPhoto);
	}

}
